package com.lxf.project;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

public class XmlAppProvicer {

    public  static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring/dubbo-provider.xml");
        context.start();
        System.out.println("demo-provicer 启动成功");
        try {
            System.in.read();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }


}
